@echo off
echo 🎨 启动前端服务 (Vue + Vite)
echo.

cd /d "%~dp0frontend"

REM 检查node_modules
if not exist "node_modules" (
    echo 📦 首次运行，安装依赖...
    npm install
)

echo 🚀 启动Vue开发服务器...
npm run dev

pause


